-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hyperverse Polygon RandomPick #49
base: main
Are you sure you want to change the base?
Hyperverse Polygon RandomPick #49
Conversation
- initial commit - added types to useRandomPick and Provider
Awesome. I didn't see that chainlink provided an oracle for Polygon contract. This is a nice addition thank you |
*/ | ||
constructor() | ||
VRFConsumerBase( | ||
0xb3dCcb4Cf7a26f6cf6B120Cf5A73875B7BBc655B, // VRF Coordinator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe these are the contracts for Ethereum. There is some documentation around this here
https://blog.chain.link/how-to-get-a-random-number-on-polygon/
Potential contracts
constructor()
VRFConsumerBase(
0x8C7382F9D8f56b33781fE506E897a4F1e2d17255
0x326C977E6efc84E512bB9C30f76E30c160eD06FB
) public
{
keyHash = 0x6e75b569a01ef56d18cab6a8e71e6600d6ce853834d4a5748b720d06f878b3a4;
fee = 100000000000000; // 0.0001 LINK
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jsheely cool I'll make the adjustments and push when I've got time. I'm still learning how this all fits together.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jsheely i think this is the blocker for the moment on this PR. I'll update my branch for testnet and then maybe we can create another issue for discussion on how to move forward on mainnet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jsheely do I need to generate the ABI to go along with updating the contract?
Dependent on #44 being merged